//
//  aboutOurVC.m
//  EquiriesProject
//
//  Created by qianfeng on 15/10/31.
//  Copyright (c) 2015年 HXH. All rights reserved.
//

#import "aboutOurVC.h"
#import "servicesViewController.h"

@interface aboutOurVC ()

@end

@implementation aboutOurVC

- (void)viewDidLoad {
    [super viewDidLoad];
    
    //self.view.backgroundColor = [UIColor colorWithRed:0.9 green:0.9 blue:0.9 alpha:1];
    self.view.backgroundColor = [UIColor whiteColor];
    [self createNav];
    
}

-(void)createNav
{
    UINavigationBar * bar = self.navigationController.navigationBar;
    [bar setBackgroundImage:[UIImage imageNamed:@"custom_dialog_btn_bg"] forBarMetrics:UIBarMetricsDefault];
    [self.view addSubview:bar];
    
    UILabel * label = [[UILabel alloc]initWithFrame:CGRectMake(0, 0, 120 , 40)];
    label.text = @"关于我们";
    label.textAlignment = NSTextAlignmentCenter;
    label.textColor = [UIColor whiteColor];
    label.font = [UIFont systemFontOfSize:22];
    [self.view addSubview:label];
    self.navigationItem.titleView = label;
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


- (IBAction)LookButton:(id)sender {
    
    servicesViewController * service = [[servicesViewController alloc]init];
    [self.navigationController pushViewController:service animated:YES];
}
@end
